/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session;

import entities.OderFood;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author TANGQUOCTUAN
 */
@Local
public interface OderFoodFacadeLocal {

    void create(OderFood oderFood);

    void edit(OderFood oderFood);

    void remove(OderFood oderFood);

    OderFood find(Object id);

    List<OderFood> findAll();

    List<OderFood> findRange(int[] range);

    int count();

    List getAllOrderFood();

    List getIDOrderFood(Integer id);

    boolean updateOrderFood(Integer id, Boolean status);

    //public int insertOrderFood(String username, Date datetime, BigDecimal totalprice, boolean status);
}
